<?php  
/*  where username='$username' AND password='$password'*/
function collect_data()
{  
	require_once ("mysql_connect.php");  
	$sql = "select * from work ";  
	$result = mysql_query($sql);
	$i=0;
	while($colum[$i]= mysql_fetch_array($result))
	{
 	  $i++;
	}
	return $colum;  
}   
?>  
